package com.zh.onlineexam.config;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.redisson.spring.starter.RedissonAutoConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.CachingConfigurerSupport;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;

/**
 * redisson配置
 *
 */
@Slf4j
@EnableCaching
@Configuration
@RequiredArgsConstructor
@AutoConfigureBefore(RedissonAutoConfiguration.class)
@EnableConfigurationProperties(RedissonProperties.class)
public class RedissonConfig extends CachingConfigurerSupport {
}
